Theme Sound Mask Constants
Theme sound mask constants define masks that are used to specify the classes of sounds that are enabled for a theme. You can use these masks to operate upon the unsigned 32-bit integer contained in the kThemeSoundMaskTag collection item, which is described in
Theme Collection Tags
. Theme sound mask constants are available with Appearance Manager 1.1 and later.
enum {
kThemeNoSounds = 0,
kThemeWindowSoundsMask = (1 << 0),
kThemeMenuSoundsMask = (1 << 1),
kThemeControlSoundsMask = (1 << 2),
kThemeFinderSoundsMask = (1 << 3)
};
Constant descriptions
-
kThemeNoSounds
-
If no bits are set, no theme sounds are enabled.
-
kThemeWindowSoundsMask
-
If the bit specified by this mask is set, window sounds are enabled.
-
kThemeMenuSoundsMask
-
If the bit specified by this mask is set, menu sounds are enabled.
-
kThemeControlSoundsMask
-
If the bit specified by this mask is set, control sounds are enabled.
-
kThemeFinderSoundsMask
-
If the bit specified by this mask is set, Finder sounds are enabled.
© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)